package me.raih.service;

import me.raih.pojo.po.Sales;

import java.util.List;

/**
 * @Author Raih
 * @Time 2020/12/29 12:31
 */
public interface SalesService {

    Sales login(String username, String password);

    int updateSales(Sales sales);

    int findSalesNumber();

    int findTodaySalesNumber();

    int findYesterdaySalesNumber();

    int findCurrMonthSalesNumber();

    int findCurrWeekSalesNumber();

    List<Sales> findAllSales();

    boolean addSales();

    Sales findSalesBySalesName(String salesName);

    boolean deleteSalesByUsername(String username);
}
